package com.kandinfo.survey.common.service;

import com.kandinfo.base.common.dto.ResultDto;
import com.kandinfo.base.common.service.Service;
import com.kandinfo.survey.common.domain.PatientFamilyRela;
import com.kandinfo.survey.common.dto.PatientFamilyDto;
import com.kandinfo.survey.common.repository.PatientFamilyRelaRepository;

/**
 * Description : 病人家属相关Service, created on 11/29/2016
 * 
 * @author Patrick-chenziping-TG
 * 
 */
public interface PatientFamilyRelativeService extends Service<PatientFamilyRela, Long, PatientFamilyRelaRepository>{
    /**
     * 家属病人关联
     * 
     * @param patientMobile 病人手机号
     * @param patientName 病人姓名
     * @return
     */
    ResultDto connectFamily(PatientFamilyDto patientFamillyDto);
    
    /**
     * 获取当前用户关联的 病人
     * 
     * @return
     */
    ResultDto getConnectedFamily();
    
}
